package com.egg.demo.enums;

import com.egg.common.swagger.annotation.SwaggerDisplayAnnotation;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@SwaggerDisplayAnnotation
@AllArgsConstructor
public enum DemoEnum {


    APP("APP端", "app"),
    PC("PC端", "pc"),
    WAP("WAP端", "wap"),
    APPLET("微信小程序端", "applet"),
    JSAPI("微信JSAPI端", "jsapi"),
    MWEB("H5支付端", "mweb"),
    ;


    private String message;
    private String code;

    @Override
    public String toString() {
        return message + ":" + code;
    }
}